{% extends "AcmeDemoBundle::layout.html.twig" %}

{% block title "Hello " %}

{% block content %}

<table class="record_properties">
    <tbody>
        <tr>
            <td>Id</td>
            <td>&nbsp;</td>
            <td>{{ entity.id }}</td>
        </tr>

        <tr>
            <td>Nombre</td>
            <td>&nbsp;</td>
            <td>{{ entity.name }}</td>
        </tr>
    </tbody>
</table>

<ul class="record_actions">
    <li>
        <a href="{{ path('role') }}">
            Volver al listado
        </a>
    </li>
    <li>
        <a href="{{ path('role_edit', { 'id': entity.id }) }}">
            Modificar Rol
        </a>
    </li>
    <li>
        <form action="{{ path('role_delete', { 'id': entity.id }) }}" metdod="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Borrar Rol</button>
        </form>
    </li>
</ul>
{% endblock %}
